<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>top</title>
    <link rel="stylesheet" href="css\iconfont\Rjdaoico.css" type="text/css">
    <link rel="stylesheet" href="css\common.css" type="text/css">
    <link rel="stylesheet" href="css\topAndFoot.css" type="text/css">
    <link rel="stylesheet" href="css\topAndFoot2.css" type="text/css">
</head>
<body>
<header>
    <section class="main">
        <div class="log">
            <div class="pic"></div>
            <span>青鸟影院</span>
            <a href="#">bluebird.com</a>
        </div>
        <section>
            <a class="searchBut" id="searchBut"><i class="icon-ef64"></i>
                 <div class="searchDiv" id="searchDiv">
                    <input type="text" class="serachKey" placeholder="请输入电影名" id="serachKey" />
                    <div class="sobut">搜索</div>
                </div>
            </a>
            <div class="language">
                <a class="cur">中文</a><i></i><a>English</a>
            </div>
            <c:if test="${sessionScope.user == null}">
                <div class="language">
                    <i></i><a class="cur" href="login.jsp" target="_parent">登录</a>
                    <i></i><a href="register.jsp" target="_parent">免费注册</a>
                </div>
            </c:if>
            <c:if test="${sessionScope.user != null}">
                <div class="language">
                    <i></i><a class="cur" href="memberNo" target="_parent">注销</a>
                </div>
            </c:if>
        </section>
        <nav>
            <!--PCNenuMain start-->
            <ul class="PCNenuMain">
                <li class="mn"><a href="index.jsp" target="_parent">首页</a></li>
                <li class="mn"><a href="${pageContext.request.contextPath}/ShowMovies2?movieTemp=0" target="_parent">影片</a></li>
                <li class="mn"><a href="${pageContext.request.contextPath}/getMovie?movieName=我要我们在一起" target="_parent">影院</a></li>
                <li class="mn"><a>我的</a><i class="icon-eed7"></i>
                    <ul class="sonClass">
                        <c:if test="${sessionScope.user == null}">
                            <li id="dicur"><a href="login.jsp" class="serv" target="_parent"><span>登录账号</span></a></li>
                        </c:if>
                        <c:if test="${sessionScope.user != null}">
                            <div class="language">
                                <li id="dicur"><a href="memberNo" class="serv" target="_parent"><span>注销</span></a></li>
                            </div>
                        </c:if>
                        <li><a href="MyMess" class="serv" target="_parent"><span>我的信息</span></a></li>
                        <li><a href="Message" class="serv" target="_parent"><span>关于我们</span></a></li>
                    </ul>
                </li>
                <li class="mn" id="dicur"><a href="">语言</a><i class="icon-eed7"></i>
                    <ul class="sonClass">
                        <li><a href="#" class="serv" target="_parent"><span>中文</span></a></li>
                        <li><a href="#" class="serv" target="_parent"><span>English</span></a></li>
                    </ul>
                </li>
            </ul>
        </nav>
    </section>
</header>
</body>
</html>